﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyMES.Domain.W.Liststructure
{
    /// <summary>
    /// 物料信息
    /// </summary>
    public class MaterialInformation
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int MaterialInformationId { get; set; } 

        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecificationModel { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit {  get; set; }

        /// <summary>
        /// 出库数量
        /// </summary>
        public int OutboundQuantity { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string BatchNumber { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }   

        /// <summary>
        /// 库区名称
        /// </summary>
        public string StorageAreaName { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        public string LocationName { get; set; }
        
        /// <summary>
        /// 是否检测
        /// </summary>
        public bool IsInspected { get; set; }

        /// <summary>
        /// 检验单编号
        /// </summary>
        public string InspectionOrderNumber { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Status {  get; set; }

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
